package ar.pmt.core.excepciones;

/**
 * @author mparisi
 */
public class ControlException extends PMTException {
	
	/**
	 * Serial Version UID.
	 */
	private static final long serialVersionUID = 8488238609772808704L;
	/**
	 * Constructor
	 */
	private ControlException() {
		super();
	}

	/**
	 * Constructor
	 * @param base Exception
	 * @param nError int
	 */
	public ControlException(Exception base, int nError) {
		this();
		this.setExceptionBase(base);
		this.setNError(nError);
	}
	/**
	 * Constructor
	 * @param causa String
	 * @param nError int
	 */
	public ControlException(String causa, int nError) {
		this.setCausa(causa);
		this.setNError(nError);
	}

}

